package com.bilibili.movies.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
@TableName("comments")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("time")
    private LocalDate time;
    @TableField("MOVC_id")
    private Integer movcId;
    @TableField("USEC_id")
    private Integer usecId;
    @TableField("score")
    private Double score;
    @TableField("content")
    private String content;
    @TableField(exist = false)
    private String name;
}
